sdmdleexporter module

class sd.api.mdl.sdmdleexporter.SDMDLEExporter(APIContext, handle, *args, **kwargs)

Bases: sd.api.sdapiobject.SDAPIObject

Utility to export MDLE file

getClassName() → str

Returns the most specific name of the class this APIObject is

release() → None

Releases an APIObject

static sExportGraph(sdMDLGraph: sd.api.mdl.sdmdlgraph.SDMDLGraph, mdleFilePath: str) → None

Export the specified SDMDLGraph as a .mdle file

Parameters
  • sdMDLGraph – The SDMDLGraph to export

  • mdleFilePath – The file path of the .mdle that will be generated